<?xml version="1.0" encoding="UTF-8"?>
<?oxygen RNGSchema="../../../src/schema/epub-nav-30.rnc" type="compact"?>
<?oxygen SCHSchema="../../../src/schema/epub-xhtml-30.sch"?>
<?oxygen SCHSchema="../../../src/schema/epub-nav-30.sch"?>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops"
    profile="http://www.idpf.org/epub/30/profile/content/">
    <head>
        <!-- any head content -->
    </head>
    <body>
        <!-- arbitrary XHTML Flow content -->
        <nav epub:type="toc" id="toc">
            <h1></h1>
            <ol>
                <li><a href="chap1.xhtml">Chapter 1</a>
                    <ol>
                        <li><a href="chap1.xhtml#sec-1.1">Chapter 1.1</a>
                            <ol style="display:none">
                                <li><a href="chap1.xhtml#sec-1.1.1">Section 1.1.1</a></li>
                                <li><a href="chap1.xhtml#sec-1.1.2">Section 1.1.2</a></li>
                            </ol>
                        </li>
                        <li><a href="chap1.xhtml#sec-1.2">Chapter 1.2</a></li>
                    </ol>
                </li>
                <li><a href="chap2.xhtml">Chapter 2</a></li>
            </ol>
        </nav>
        <!-- arbitrary XHTML Flow content -->
        <nav epub:type="page-list" style="display:none">
            <!-- the pageList -->
            <h2><span> </span></h2>
            <ol>
                <li><a href="chap1.xhtml#p1">arbitrary XHTML Phrasing content</a></li>
                <li><a href="chap1.xhtml#p2">arbitrary XHTML Phrasing content</a></li>
            </ol>
        </nav>
        <!-- arbitrary XHTML Flow content -->
        <nav epub:type="landmarks">
            <!-- the guide -->
            <h2> </h2>
            <ol>
                <li><a epub:type="toc" href="#toc">Table of Contents</a></li>
                <li><a epub:type="loi" href="content.html#loi">List of Illustrations</a></li>
                <li><a epub:type="bodymatter" href="content.html#bodymatter">Start of
                    Content</a></li>
            </ol>
        </nav>
        <!-- lists grouped by sections -->
        <nav epub:type="lot">
            <h2>List of Tables, grouped by chapter</h2>
            <!-- wrong value for "hidden" (needs to be empty string "") -->
            <ol hidden="true">
                <li>
                    <!-- link points to chapter instead of table -->
                    <a href="chap1.xhtml#chapter-1">Chapter 1</a>
                    <ol>
                        <li><a href="chap1.xhtml#table-1.1">Table 1.1</a>
                        </li>
                        <li><a href="chap1.xhtml#table-1.2">Table 1.2</a></li>
                    </ol>
                </li>
                <li>
                    <!-- "heading" can only be a 'span' or 'a' -->
                    <p>Tables in Chapter 2</p>
                    
                    <!-- wrong value for "hidden" (the correct form is to remove the attribute completely) -->
                    <ol hidden="false">
                        <li>
                            <!-- link points to illustration instead of table -->
                            <a href="chap2.xhtml#illustration-2.1">Illustration 2.1</a>
                        </li>
                        <li><a href="chap2.xhtml#table-2.2">Table 2.2</a></li>
                        <li><a href="chap2.xhtml#table-2.3">Table 2.3</a></li>
                    </ol>
                </li>
                
                <li>
                    <!-- "span" must contain phrasing text -->
                    <span></span>
                    <ol>
                        <li>
                            <!-- 'span' only allowed for 'li' with 'ol' descendant(s) -->
                            <span>Table a.1</span>
                        </li>
                        <li><a href="appendix.xhtml#table-a.2">Table a.2</a></li>
                    </ol>
                </li>
            </ol>
        </nav>
    </body>
</html>
